package org.blankhole.dao.impl;

import org.apache.log4j.Logger;
import org.blankhole.dao.IDefaultDao;
import org.blankhole.model.ServiceOptions;
import org.springframework.stereotype.Component;

/**
 * DefaultDaoImpl: Implemention of the default Dao
 *
 * @author Wenlong Meng(wenlong.meng@gmail.com)
 * @version 1.0 at 2012/07/23
 * @since 1.0
 */
@Component
public class DefaultDaoImpl implements IDefaultDao {
	
	//local variables
	/**
	 * logger
	 */
	private static Logger logger = Logger.getLogger(DefaultDaoImpl.class);

	//Logic
	/**
	 * execute operation for db
	 * 
	 * @param argsOptions see {@link ArgsOptions}
	 * @return
	 */
	@Override
	public void execute(ServiceOptions serviceOptions) {
		logger.debug("Begin: execute(" + serviceOptions + ")...");
		//service id
		String id = serviceOptions.getId();
		logger.debug("End: execute(" + serviceOptions + ")!");
	}

}
